const Service = require('egg').Service;

class buyBook extends Service {
    /*书籍详情*/
    async bookDetail(id) {
        return  await this.ctx.service.base.getService('/device/book/detail',{ id });
    }
    async bookList() {
        return  await this.ctx.service.base.getService('/device/book/list');
    }
}

module.exports = buyBook;



